import static org.junit.Assert.*;

import java.util.ArrayList;

import junit.framework.TestCase;

import org.junit.Test;


public class SacTest extends TestCase{


	@Test
	public void testAjouter() {
		Lettre l = new Lettre(0.5);
		Sac s = new Sac(5);
		assertNotNull(s.ajouter(l));
	}

	@Test
	public void testGetVolume() {
		double result = 0;
		Sac s = new Sac(10.2);
		assertEquals(result,s.getVolume());
	}

	@Test
	public void testGetVolMax() {
		double result = 20.3;
		Sac s = new Sac(20.3);
		assertEquals(result,s.getVolMax());
	}

}
